* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  width: 100vw;
  height: 100vh;
  background-color: rgb(47, 47, 47);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 1280px;
  height: 825px;
  background-color: rgb(35, 43, 56);
  display: flex;
}

.sidebar {
  width: 80px;
  height: 100%;
  /* border: 1px solid #ddd; */
  display: flex;
  flex-direction: column;
}

.sidebar>.top {
  width: 100%;
  height: 50px;
  flex-grow: 1;
  /* border: 1px solid #ddd; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top div {
  width: 50px;
  height: 50px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-top: 15px;
}

.top div:nth-child(1) {
  background-color: rgb(52, 163, 247);
}

.top div:nth-child(2) {
  background-color: rgb(158, 139, 231);
}

.top div:nth-child(3) {
  background-color: rgb(239, 85, 57);
}

.top div:nth-child(4) {
  font-size: 2.2em;
  display: flex;
  color: rgb(55, 64, 79);
  border: 3px solid rgb(55, 64, 79);
}

.sidebar>.foot {
  width: 100%;
  height: 50px;
  /* border: 1px solid #ccc; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.foot div {
  margin: 0 5px;
  color: rgb(81, 90, 105);
}

.menu {
  background-color: rgb(40, 52, 68);
  width: 200px;
  height: 100%;
  /* border: 1px solid #ddd; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mcontainer {
  width: 90%;
  height: 97%;
  /* border: 1px solid #ddd; */
  position: relative;
}

.titleList {
  width: 100%;
  /* height: 190px; */
  border-bottom: 1px solid rgb(55, 64, 79);
}

.titleList>.head {
  display: flex;
  justify-content: space-between;
  color: rgb(83, 95, 122);
}

.head>.title {
  font-size: 12px;
}

.content>ul {
  list-style: none;
  color: rgb(175, 184, 198);
  font-size: 12px;
  margin-bottom: 20px;
}

.sec>div {
  /* background-color: rgb(239, 85, 57); */
  display: flex;
  vertical-align: middle;
  margin-top: 15px;
  /* line-height: 15px; */
  position: relative;
}

.sec>div>.number {
  width: 25px;
  height: 20px;
  position: absolute;
  right: 3px;
  background-color: rgb(52, 163, 247);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(203, 235, 249);
}

.sec>div>.important {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgb(239, 85, 57);
}


.sec>div>li {
  margin-left: 5px;
}

.content>.sec>li {
  margin-top: 15px;
}

.footbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  /* background-color: rgb(175, 184, 198); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  justify-content: space-around;
}

.footone {
  font-size: 9px;
  display: flex;
  color: rgb(218, 224, 230);
  justify-content: space-between;
}

.foottwo {
  width: 100%;
  height: 4px;
  background-color: rgb(52, 64, 80);
  border-radius: 10px;
  overflow: hidden;
}

.foottwo>.line {
  width: 60%;
  height: 4px;
  background-color: rgb(165, 153, 226);
}


/* 主体部分 */
.main {
  width: 1000px;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.main>.title {
  height: 66px;
  width: 100%;
  border-bottom: 2px solid rgb(247, 247, 247);
  display: flex;
}

.title>.tagname {
  flex-grow: 1;
  height: 100%;
  width: 50px;
  /* background-color: rgb(239, 85, 57); */
  padding-left: 20px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(109, 112, 109);
}

.title>.user {
  width: 250px;
  height: 100%;
  /* background-color: rgb(52, 163, 247); */
  display: flex;
  justify-content: center;
  align-items: center;
}

.user>.head {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
}

.user>.cont {
  width: 140px;
  height: 100%;
  /* background-color: rgb(165, 153, 226); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.cont>p:nth-child(1) {
  color: rgb(52, 163, 247);
  font-weight: 600;
}

.cont>p:nth-child(2) {
  color: rgb(206, 207, 212);
  font-size: 14px;
}

.user>.downs {
  width: 25px;
  height: 25px;
  color: rgb(206, 207, 212);
  /* background-color: red; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.maincontent {
  flex-grow: 1;
  /* background-color: rgb(165, 153, 226); */
  display: flex;
}

.chatmenber {
  width: 325px;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* background-color: rgb(203, 235, 249); */
}

.search {
  width: 100%;
  height: 60px;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search>.input {
  width: 275px;
  height: 30px;
  border: 1px solid rgb(224, 224, 226);
  border-radius: 5px;
  position: relative;
}

.input>input {
  width: 100%;
  height: 100%;
  outline: none;
  border-radius: 3px;
  border: none;
  padding-left: 10px;
}

input::-webkit-input-placeholder {
  color: rgb(206, 207, 212);
}

.input>.searchbar {
  position: absolute;
  right: 10px;
  top: 5px;
  color: rgb(218, 224, 230);
}

.chatlist {
  flex-grow: 1;
  /* background-color: rgb(40, 52, 68); */
}

.member {
  width: 100%;
  height: 90px;
  border-bottom: 1px solid rgb(218, 224, 230);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 10px;
}

.showborder {
  border-left: 3px solid rgb(52, 163, 247);
}

.fcontainer {
  width: 300px;
  height: 80px;
  /* background-color: rgb(239, 85, 57); */
}

.shang {
  width: 100%;
  height: 45px;
  /* background-color: rgb(247, 247, 247); */
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
  position: relative;
}

.juli {
  position: absolute;
  right: 10px;
  color: rgb(167, 171, 177);
  font-size: 13px;
}

.shang>.toux {
  width: 40px;
  height: 40px;
  /* background-color: rgb(52, 64, 80); */
  border-radius: 50%;
  overflow: hidden;
}

.names {
  height: 100%;
  flex-grow: 1;
  /* background-color: rgb(52, 163, 247); */
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.names>div {
  display: flex;
  align-items: center;
}

.names>p {
  color: rgb(206, 207, 212);
  font-size: 12px;
}

.names>div>p {
  color: rgb(113, 114, 118);
  font-weight: 600;
  font-size: 14px;
}

.names>div>.check {
  color: rgb(52, 163, 247);
}

.spot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgb(52, 163, 247);
  margin-right: 5px;
  display: none;
}

.show {
  display: block;
}

.xia {
  width: 100%;
  /* height: 5px; */
  flex-grow: 1;
  /* background-color: rgb(239, 85, 57); */
  display: flex;
  align-items: center;
}

.xia>.text {
  width: 260px;
  height: 30px;
  /* background-color: rgb(40, 52, 68); */
  margin-top: 3px;
  color: rgb(141, 141, 143);
  font-size: 10px;
  display: flex;
  align-items: center;
}

.chatcounts {
  margin-left: 10px;
  width: 20px;
  /* flex-grow: 1; */
  height: 100%;
  background-color: rgb(52, 163, 247);
  display: flex;
  align-items: center;
  border-radius: 50%;
  opacity: 0;
}

.showcont {
  opacity: 1;
}

.chatcounts>.conts {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(229, 252, 255);
  font-size: 12px;
}

.blog {
  background-color: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.checkUser {
  width: 100%;
  height: 60px;
  border: 1px solid rgb(224, 224, 226);
  border-left: none;
  display: flex;
}

.checkUserName {
  width: 415px;
  height: 60px;
  /* background-color: skyblue; */
  display: flex;
  align-items: center;
}

.checkUserdo {
  flex-grow: 1;
  /* background-color: slateblue; */
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkUserdo>span {
  margin: 0 10px;
}

.online {
  width: 8px;
  height: 8px;
  background-color: rgb(35, 188, 51);
  border-radius: 50%;
  margin-left: 10px;
}

.checkUserName>h2 {
  font-size: 19px;
  padding-left: 15px;
  color: rgb(102, 107, 110);
}

.leftdo {
  width: 110px;
  height: 30px;
  background-color: rgb(250, 250, 252);
  border-radius: 8px;
  display: flex;
  border: 1px solid rgb(227, 228, 229);
}

.leftdo>div {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(171, 171, 192);
}

.leftdo>div:nth-child(2) {
  border-left: 1px solid rgb(227, 228, 229);
  border-right: 1px solid rgb(227, 228, 229);
}

.rightdo {
  width: 110px;
  height: 30px;
  /* background-color: skyblue; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rightdo>span {
  font-size: 12px;
  font-weight: 600;
  color: rgb(123, 132, 146);
}

.rightdo>div {
  width: 60px;
  height: 100%;
  background-color: rgb(250, 250, 252);
  border-radius: 8px;
  display: flex;
  color: rgb(123, 132, 146);
}

.btn>div {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn>div:nth-child(1) {
  border-right: 1px solid rgb(227, 228, 229);
}

.pengyouquan {
  height: 699px;
  width: 100%;
  border: 1px solid rgb(241, 243, 232);
  overflow-y: auto;
}

.pengyouquan::-webkit-scrollbar {
  width: 0 !important
}

.yesterday {
  width: 100%;
  /* height: 120px; */
  border: 1px solid rgb(241, 243, 232);
}

.amsg {
  width: 100%;
  /* height: 100px; */
  /* background-color: rgb(35, 188, 51); */
  display: flex;
}

.leftcount {
  width: 90px;
  height: 45px;
  /* background-color: rgb(102, 107, 110); */
  display: flex;
  justify-content: center;
  margin-left: 15px;
  padding-top: 10px;
  margin-right: 5px;
}

.lefttoux {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;

}

.senmsg {
  flex-grow: 1;
  /* background-color: saddlebrown; */
  display: flex;
  flex-direction: column;
  padding: 10px;
  padding-right: 20px;
}

.username>span:nth-child(1) {
  color: rgb(105, 106, 110);
  font-size: 14px;
  font-weight: 600;
}

.username>span:nth-child(2) {
  color: rgb(159, 166, 176);
  margin-left: 10px;
  font-size: 12px;
  font-weight: 600;
}

.saytontent {
  width: 100%;
  font-size: 13px;
  padding-top: 5px;
}

.guoqu {
  width: 100%;
  height: 2px;
  background-color: rgb(225, 225, 228);
  margin: 20px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guoqumsg {
  color: rgb(177, 180, 186);
  position: absolute;
  width: 75px;
  height: 30px;
  background-color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.xin {
  background-color: rgb(52, 163, 247);
}

.xinmsg {
  width: 100px;
  color: rgb(52, 163, 247);
}

.pic {
  width: 100%;
  height: 75px;
  margin-top: 10px;
  /* background-color: rosybrown; */
  display: flex;
}

.pic>div {
  width: 105px;
  height: 75px;
  border-radius: 8px;
  /* background-color: salmon; */
  margin-right: 5px;
  overflow: hidden;
}

.add {
  width: 100%;
  height: 45px;
  /* background-color: salmon; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.addbtn {
  width: 650px;
  height: 100%;
  /* background-color: sandybrown; */
  display: flex;
  border: 1px solid rgb(240, 241, 242);
  margin-bottom: 15px;
}

.click {
  width: 45px;
  height: 45px;
  border: 1px solid rgb(227, 227, 227);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  background-color: rgb(245, 246, 248);
  color: rgb(168, 171, 187);
}

.addmsg {
  width: 100%;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(163, 164, 166);
}